<template>
	<view class="content">
		<view v-html="data.content">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{
					title:'',
					content:'',
				}
			}
		},
		methods: {
			
		},
		onLoad(option) {
			this.id = option.id
			let url = {
				url:"index/platformNoticeInfo",
				method: "get"
			}
			// 
			this.request.httpTokenRequest(url, {
				id:this.id
			}).then(res => {
				if (res.code == 0) {
					this.data = res.data
					uni.setNavigationBarTitle({
						title:this.data.name
					})
				} else {
					this.$util.msg(res.msg)
					return
				}
			}, error => {})
		}
	}
</script>

<style lang="scss">
	
</style>
